package com.espoir.service;

import com.espoir.pojo.Coordinate;
import com.espoir.pojo.Shp;
import com.espoir.shp.read01.CommonShapeModel;
import com.espoir.shp.read01.CountyShapeModel;
import com.espoir.shp.read01.ShapeModel;
import com.espoir.shp.read01.TownshipShapeModel;

import java.awt.*;
import java.util.List;

public interface IShpService {
    List<Shp> findAll();

    Shp findById(int id);

    int save(Shp shp);


    Shp findById2(int id);

    int save2(Shp shp);


    int save3(ShapeModel shapeModel);
    int saveCountyShape(CountyShapeModel shapeModel);

    ShapeModel findByCoordinate(Coordinate coordinate);

    int saveTownshipShape(TownshipShapeModel item);
    int saveCommonShape(CommonShapeModel item);
}
